﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace SE_Demo
{
    public partial class MainForm : Form
    {
        public MainForm()
        {
            InitializeComponent();
        }

        private void btnIndex_Click(object sender, EventArgs e)
        {
            IndexerForm _indexForm = new IndexerForm();
            _indexForm.ShowDialog();
        }

        private void btnSearch_Click(object sender, EventArgs e)
        {
            SearcherForm _searchForm = new SearcherForm();
            _searchForm.ShowDialog();
        }

        private void btnIndexD_Click(object sender, EventArgs e)
        {
            IndexerDForm _indexDForm = new IndexerDForm();
            _indexDForm.ShowDialog();
        }

        private void btnExit_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }

        private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            System.Diagnostics.Process.Start("IEXPLORE.EXE", "http://aspnetx.cnblogs.com");
        }
    }
}
